var app = angular.module('app',["ionic"]);
app.controller('myCtrl',['$scope','$http',function($scope,$http){
	$http.get('data/nav.json').success(function(respone){
		$scope.navs = respone;
	});
	$scope.change = function(evt){
		console.log(evt.target);
	}
	$scope.slideHasChanged = function(index,evt){
		console.log(evt);
		console.log($('.bar-subheader .col').eq(index).attr('id'));
		$('.bar-subheader .col').removeClass('active');
		$('.bar-subheader .col').eq(index).addClass('active');
	}
}]);